<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="../script/pivot.js"></script>
<script type="text/javascript" src="../script/crosstab.js"></script>
<meta name="author" content="CarlHuang">
<title>客户积分累计查询</title>
<script language="javascript" src="../script/common.js"
	type="text/javascript"></script>
<script language="javascript" type="text/javascript"> 	
		var qt={};
     function load(){
	   Eui.showNavigation();
        Common.initDict(searchForm.idnoType,"idno_type","全 部");
        Eui.initBeginDateInput("beginDateTd","起始日期","searchForm","startrequestDate","endrequestDate","_pastDate");
		Eui.initEndDateInput("endDateTd","结束日期","searchForm","startrequestDate","endrequestDate","_pastDate");
		$("searchForm").reset();
	   setPages(["listView"]);
	 }
	   function showData1(){
	    
	     {
	     if(!checkForm(searchForm))return;
	     createTable1();
	     qt.showTable();
	     }
	    
    }
    function lookback(){
	     switchPage("listView");  
    }
     
	 function createTable1(){   
	   var columns =[];
	   qt = new QueryTable("loy_points_query_add","searchForm","datalist",columns
				);
	}	
	function selOrg(){	
	   var c = openDialogFrame("/client/card_list2.html",'选择卡号',400,600);

	   if(c){
	   $("searchForm").cardAsn.value=c[1];   
	  }	
	}

		</script>
</head>
<body onload="load()">
<div class="nav">
<div id="nav">&nbsp;</div>
</div>
<div id="listView">
<div class="searchForm">
<form id='searchForm' name='searchForm'>
<table cellSpacing="0" cellPadding="4" width="100%" border="0">
	<tr>
	
		<td><label>卡&nbsp;&nbsp;&nbsp;&nbsp;号</label>
		&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="cardAsn" value=""
			onblur="checkV(this,'asn',true)"><a class=orga href=#
			onclick="selOrg()">&nbsp;&nbsp;</a> <span class='des'>*</span></td>

	<td id="beginDateTd">&nbsp;</td>
     <td id="endDateTd">&nbsp;</td>
	</tr>
	<tr>
		<td></td>
		<td></td>
		<td>
		<button type="button" onclick="showData1()">查 询</button>
		</td>
	</tr>
</table>
</form>
</div>
<div id="datalist"></div>
</div>


</body>
</html>
